@import '../../app.less';

.container{
    swiper {
        width : 100%;
        height: 750rpx;
        .swiper-pic {
            width : 100%;
            height: 750rpx;
        }
    }
    .goods-info {
        width : 100%;
        padding: 20rpx 10rpx;
        background : #ffffff;
        border-radius: 0 0 8rpx 8rpx;
        margin-bottom: 10rpx;
        .goods-price {
            padding: 0 10rpx;
            .price {
                color    : #ff5252;
                font-size: 24rpx;
                text {
                    font-size: 48rpx;
                }
            }
            .sales {
                color: #a1a1a1;
                font-size: 24rpx;
                line-height: 66rpx;
            }
        }
        .goods-name {
            .oneline();
            color : #535252;
            font-size : 32rpx;
            line-height: 44rpx;
            font-weight: bold;
            padding: 0 10rpx;
        }
        .goods-desc {
            color: #939393;
            font-size: 24rpx;
            margin : 10rpx 0 20rpx;
            padding : 0 10rpx 10rpx;
        }
        .water-card {
            width : 100%;
            height: 60rpx;
            line-height: 60rpx;
            padding : 0 15rpx 0 20rpx;
            background : #fff4da;
            color : #535252;
            font-size : 24rpx;
            border-radius:8rpx;
            .card-desc text{
                color:#ff5252;
            }
            .arrow-right {
                .arrow();
                border-top: 2rpx solid #535252;
                border-right: 2rpx solid #535252;
                margin-left: 10rpx;
            }
        }
    }
    .choose-para{
        width : 100%;
        height: 90rpx;
        line-height: 90rpx;
        padding : 0 20rpx;
        background : #ffffff;
        border-radius: 8rpx 8rpx 0 0;
        border-bottom: solid 2rpx #ececec;
        .choose-left{
            color: #535252;
            font-size: 28rpx;
            font-weight: bold;
            margin-right: 20rpx;
        }
        .choose-center {
            color: #535252;
            font-size: 24rpx;
        }
    }
    .address-para{
        width : 100%;
        height: 90rpx;
        line-height: 90rpx;
        padding : 0 20rpx;
        background : #ffffff;
        border-radius: 0 0 8rpx 8rpx;
        .address-left {
            color: #535252;
            font-size: 28rpx;
            font-weight: bold;
            margin-right: 20rpx;
        }
        .address-center {
            color: #535252;
            font-size: 24rpx;
            .icon-position {
                width : 30rpx;
                height : 30rpx;
                margin-right : 10rpx;
                vertical-align: sub;
            }
        }
    }
    .dot {
        width: 6rpx;
        height : 6rpx;
        background : #535252;
        border-radius: 50%;
        margin : 0 4rpx;
    }
    .consumer {
        width: 100%;
        padding : 20rpx 20rpx 5rpx 20rpx;
        background : #ffffff;
        margin: 10rpx 0;
        border-radius: 8rpx;
        .consumer-title {
            color: #535252;
            font-size: 28rpx;
            line-height: 40rpx;
            font-weight : bold;
            margin-bottom: 5rpx;
        }
        .consumer-box {
            flex-wrap: wrap;
            .consumer-item {
                margin: 15rpx 0;
                .consumer-avatar {
                    width: 52rpx;
                    height: 52rpx;
                    border-radius: 50%;
                }
                text {
                    width : 105rpx;
                    margin : 0 10rpx;
                    color: #535252;
                    font-size: 24rpx;
                }
            }
        }
    }
    .goods-detail {
        margin-bottom: 120rpx;
        .goods-detail-pic {
            width : 100%;
            margin-bottom:-2rpx;
        }
    }
    .btn-box {
        position: fixed;
        bottom: 0;
        left : 0;
        width: 100%;
        height: 164rpx;
        background: #ffffff;
        .give-btn{
            width:696rpx;
            height:72rpx;
            line-height:72rpx;
            background:#393836;
            border-radius:44rpx;
            color:#ffce84;
            font-size:32rpx;
            text-align:center;
            margin:22rpx auto 16rpx;
        }
        .common-btn{
            color:#aaacaa;
            font-size:24rpx;
            line-height:34rpx;
            text-align:center;
        }
    }
    .options-model-bg{
        width: 750rpx;
        height: 100%;
        position: fixed;
        left: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    .options-box{
        position:fixed;
        bottom:0;
        left:0;
        width:100%;
        padding:30rpx 20rpx 56rpx;
        background:#ffffff;
        z-index: 9999;
        border-radius:16rpx 16rpx 0 0 ;
        .goods-info{
            padding-left:10rpx;
            .goods-pic{
                width:200rpx;
                height:200rpx;
                margin-right:20rpx;
            }
            .good-detail{
                padding-top:104rpx;
                .price{
                    color:#000000;
                    font-size:24rpx;
                    line-height:34rpx;
                    text{
                        font-size:40rpx;
                        line-height:56rpx;
                    }
                }
                .weight{
                    color:#959595;
                    font-size:24rpx;
                    line-height:34rpx;
                }
            }
        }
        .category-box{
            margin:30rpx 0;
            flex-wrap: wrap;
            .category-title{
                padding-left:10rpx;
                color:#535252;
                font-size:28rpx;
                line-height:40rpx;
                margin-bottom:10rpx;
            }
            .category-item{
                height:54rpx;
                line-height:54rpx;
                color:#535252;
                font-size:24rpx;
                background:#f4f4f4;
                border-radius:27rpx;
                text-align:center;
                margin:10rpx 20rpx;
                padding:0 20rpx;
            }
        }
        .change-num{
            padding-left:10rpx;
            .change-num-title{
                color:#535252;
                font-size:28rpx;
                line-height:40rpx;
            }
            .number-input{
                width:80rpx;
                height:40rpx;
                line-height:40rpx;
                background:#f4f4f4;
                color:#535252;
                text-align:center;
                margin:0 20rpx;
            }
            .number-sub{
                padding-left:10rpx;
                padding-right:10rpx;
                margin-right: 10rpx;
            }
            .number-add{
                margin-left: 10rpx;
                padding-left:10rpx;
                padding-right:10rpx
            }
            .number-input-box .number-btn.disabled {
                background: #f6f6f6;
                color: #aaa;
            }
        }
        .distribution-box{
            margin:40rpx 0 56rpx;
            flex-wrap: wrap;
            .distribution-title{
                color:#535252;
                font-size:28rpx;
                line-height:40rpx;
                padding-left:10rpx;
            }
            .distribution-item{
                width:94rpx;
                height:66rpx;
                line-height:66rpx;
                color:#535252;
                font-size:24rpx;
                text-align:center;
                background:#f4f4f4;
                border-radius:4rpx;
                margin:10rpx 30rpx 10rpx 10rpx;
            }
        }
        .confirm-btn{
            width:100%;
            height:72rpx;
            line-height:72rpx;
            background:#393836;
            color:#ffce84;
            text-align:center;
            border-radius:44rpx;
            margin-top:56rpx;
        }
    }
    button.share{
        padding:0;
        font-size: 24rpx;
        line-height: 34rpx;
        border: 0 none;
        border-radius:0;
        font-weight: normal;
        &:not([size='mini']){
            width: auto;
        }
    }
    .active{
        background: #393836 !important;
        color:#FFCE84 !important;
    }
}